/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package byblos.apresentacao;

import javax.servlet.http.HttpServletRequest;
import org.vraptor.annotations.Component;
import org.vraptor.annotations.In;
import org.vraptor.annotations.Parameter;

/**
 *
 * @author diego
 */
@Component
public class VisaNetConfirmarComponent {

    @Parameter
    private String tid;
    @Parameter
    private String orderid;
    @In
    private HttpServletRequest request;

    public void confirmar() {
        request.getParameterMap().put("tid", tid);
        request.getParameterMap().put("orderid", orderid);
    }
}
